#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() 
{
	int arr[5] = { 1,2,3,4,5 };
	int i = 0;
	for (i; i <= 4; i++) 
	{
		int a = arr[i];
		printf("%d\n", a);
	}
	int j = 0;
	while (j < 5) 
	{
		int b = arr[j];
		printf("%d\n", b);
		j++;
	}

	return 0;
}